package com.bravo.user.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.bravo.user.entity.Admin;
/**
 * admin数据访问接口
 * @author Yuyong
 *
 */
public interface AdminRepository extends JpaRepository<Admin,String>,JpaSpecificationExecutor<Admin>{

    public Admin findByLoginName(String loginName);
}
